package com.ruoyi.education.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级管理对象 t_classes
 * 
 * @author imachen
 * @date 2022-10-25
 */
public class Classes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 班级名 */
    @Excel(name = "班级名")
    private String className;

    /** 班主任 */
    @Excel(name = "班主任")
    private String headmaster;

    /** 就业老师 */
    @Excel(name = "就业老师")
    private String empTeacher;

    /** 助教老师 */
    @Excel(name = "助教老师")
    private String assistantTeacher;

    /** 开班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结课日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结课日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setHeadmaster(String headmaster) 
    {
        this.headmaster = headmaster;
    }

    public String getHeadmaster() 
    {
        return headmaster;
    }
    public void setEmpTeacher(String empTeacher) 
    {
        this.empTeacher = empTeacher;
    }

    public String getEmpTeacher() 
    {
        return empTeacher;
    }
    public void setAssistantTeacher(String assistantTeacher) 
    {
        this.assistantTeacher = assistantTeacher;
    }

    public String getAssistantTeacher() 
    {
        return assistantTeacher;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("headmaster", getHeadmaster())
            .append("empTeacher", getEmpTeacher())
            .append("assistantTeacher", getAssistantTeacher())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
